package com.dz.lm.dao.product.write;

import java.util.Map;

import com.dz.lm.common.exception.DaoException;
import com.dz.lm.common.utils.stereotype.WriterRepository;
import com.dz.lm.domain.product.AgentProduct;

@WriterRepository("writeAgentProductDao")
public interface AgentProductDao {
	
	int insert(AgentProduct AgentProduct) throws DaoException;
	
	int delete(AgentProduct AgentProduct) throws DaoException;
    /**
     * 删除当前用户代理的产品数据（逻辑删除）
     */
	Integer delMyAgentProduct(Map<String, Object> qryParam) throws DaoException;
    /**
     * 删除未发布的代理产品（物理删除）
     */
	Integer delAgentProduct(Map<String, Object> qryParam) throws DaoException;
}
